package com.zfei.gfb.query.h5;

import com.zfei.gfb.bean.Const;
import com.zfei.gfb.bean.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author fgh
 */
@Data
public class H5LandResourcesQuery extends Page {

    @ApiModelProperty(value = "名称")
    private String name;
    // 类型 1:土地 2:池塘, 3: 山林
    @ApiModelProperty(value = "类型 1:土地 2:池塘, 3: 山林")
    private Integer type;

    public Page check(){
        Const.checkLandTypeWithNull(type);
        return this;
    }
}

